﻿<!DOCTYPE html>
<html lang="cn">
	<head>
		<meta charset="utf-8" />
		<title>Banner列表 - FCMS后台管理</title>
		<include file="Index/header" />

	</head>

	<body>
		<div class="wrap">
			<div class="col-sm-12 col-xs-12">
				<table id="sample-table-1" class="table table-striped table-bordered table-hover">
					<thead>
						<tr>
							<th class="center">
								<label>
									<input type="checkbox" class="ace" />
									<span class="lbl"></span>
								</label>
							</th>
							<th>排序</th>
							<th>标题</th>
							<th>注释</th>
							<th>缩略图</th>
							<th>状态</th>
							<th>操作</th>
						</tr>
					</thead>

					<tbody>
						<foreach name="bs" item="vo">
						<tr>
							<td class="center">
								<label>
									<input type="checkbox" class="ace" />
									<span class="lbl"></span>
								</label>
							</td>

							<td>
								{$vo.sort}
							</td>
							<td>
								{$vo.title}
							</td>
							</td>
							<td>
								{$vo.note}
							</td>
							<td>
								<img src="__PUBLIC__/{$vo.thumb}" alt="" />
							</td>
							<td>
							
								<if condition="$vo['status'] eq 1">
									<span class="label label-sm label-success">可见</span>
								<else/>
									<span class="label label-sm label-warning">不可见</span>
								</if>
							</td>

							<td>
								<div class="visible-md visible-lg visible-sm visible-xs btn-group">
									<if condition="$vo['status'] eq 1">
										<a title="改为不可见" class="btn btn-xs btn-warning" href="{:U('updateStatus','id='.$vo['id'])}">
											<i class="icon-eye-close bigger-120"></i>
										</a>
									<else/>
										<a title="改为可见" class="btn btn-xs btn-success" href="{:U('updateStatus','id='.$vo['id'])}">
											<i class="icon-eye-open bigger-120"></i>
										</a>
									</if>
									<a title="编辑" class="btn btn-xs btn-info" href="{:U('edit','id='.$vo['id'])}">
											<i class="icon-edit bigger-120"></i>
									</a>

								</div>

								
							</td>
						</tr>
						</foreach>

					</tbody>
				</table>
			</div>

		</div><!-- /row -->

		<!-- basic scripts -->

		<script type="text/javascript">
			window.jQuery || document.write("<script src='__PUBLIC__/assets/js/jquery-2.0.3.min.js'>"+"<"+"script>");
		</script>


		<!--[if IE]>
		<script type="text/javascript">
		 window.jQuery || document.write("<script src='__PUBLIC__/assets/js/jquery-1.10.2.min.js'>"+"<"+"script>");
		</script>
		<![endif]-->

		<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='__PUBLIC__/assets/js/jquery.mobile.custom.min.js'>"+"<"+"script>");
		</script>
		<script src="__PUBLIC__/assets/js/bootstrap.min.js"></script>
		<script src="__PUBLIC__/assets/js/typeahead-bs2.min.js"></script>

		<!-- page specific plugin scripts -->

		<!--[if lte IE 8]>
		  <script src="__PUBLIC__/assets/js/excanvas.min.js"></script>
		<![endif]-->


		<!-- ace scripts -->

		<script src="__PUBLIC__/assets/js/ace-elements.min.js"></script>
		<script src="__PUBLIC__/assets/js/ace.min.js"></script>


		<script type="text/javascript">

			jQuery(function($) {


			})
		</script>
</body>
</html>

